package com.cloud.provider.model.domain;

import java.util.Date;

public class MqMessageData {
    /**
     * pc_mq_message_data.id;ID
     */
    private Long id;

    /**
     * pc_mq_message_data.version;版本号
     */
    private Integer version;

    /**
     * pc_mq_message_data.message_key;消息key
     */
    private String messageKey;

    /**
     * pc_mq_message_data.message_topic;topic
     */
    private String messageTopic;

    /**
     * pc_mq_message_data.message_tag;tag
     */
    private String messageTag;

    /**
     * pc_mq_message_data.message_type;消息类型: 10 - 生产者 ; 20 - 消费者
     */
    private Integer messageType;

    /**
     * pc_mq_message_data.delay_level;延时级别 1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h
     */
    private Integer delayLevel;

    /**
     * pc_mq_message_data.order_type;顺序类型 0有序 1无序
     */
    private Integer orderType;

    /**
     * pc_mq_message_data.status;消息状态
     */
    private Integer status;

    /**
     * pc_mq_message_data.creator;创建人
     */
    private String creator;

    /**
     * pc_mq_message_data.creator_id;创建人ID
     */
    private Long creatorId;

    /**
     * pc_mq_message_data.created_time;创建时间
     */
    private Date createdTime;

    /**
     * pc_mq_message_data.last_operator;最近操作人
     */
    private String lastOperator;

    /**
     * pc_mq_message_data.last_operator_id;最后操作人ID
     */
    private Long lastOperatorId;

    /**
     * pc_mq_message_data.update_time;更新时间
     */
    private Date updateTime;

    /**
     * pc_mq_message_data.yn;是否删除 -0 未删除 -1 已删除
     */
    private Integer yn;

    /**
     * pc_mq_message_data.message_body;消息内容
     */
    private String messageBody;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getMessageKey() {
        return messageKey;
    }

    public void setMessageKey(String messageKey) {
        this.messageKey = messageKey == null ? null : messageKey.trim();
    }

    public String getMessageTopic() {
        return messageTopic;
    }

    public void setMessageTopic(String messageTopic) {
        this.messageTopic = messageTopic == null ? null : messageTopic.trim();
    }

    public String getMessageTag() {
        return messageTag;
    }

    public void setMessageTag(String messageTag) {
        this.messageTag = messageTag == null ? null : messageTag.trim();
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public Integer getDelayLevel() {
        return delayLevel;
    }

    public void setDelayLevel(Integer delayLevel) {
        this.delayLevel = delayLevel;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastOperator() {
        return lastOperator;
    }

    public void setLastOperator(String lastOperator) {
        this.lastOperator = lastOperator == null ? null : lastOperator.trim();
    }

    public Long getLastOperatorId() {
        return lastOperatorId;
    }

    public void setLastOperatorId(Long lastOperatorId) {
        this.lastOperatorId = lastOperatorId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getYn() {
        return yn;
    }

    public void setYn(Integer yn) {
        this.yn = yn;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody == null ? null : messageBody.trim();
    }
}